<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ include file="/common/taglib.jsp" %>
<%@ include file="/common/common.jsp" %>    
<base href="<%=basePath%>">
<title>信息集列表</title>
</head>
<body>
<div class="container">
<h2 class="bg-info">信息集列表</h2>	
<table class="table table-bordered table-hover">
<thead>
<tr>
	<th>信息项名称</th>
	<th>信息项值</th>
	<th>操作</th>
</tr>
</thead>
<c:forEach items="${infoItems }" var="i">
	<tr>
		<td>
			${i.iName}	
		</td>
		<td>${i.iValue}</td>
		<td><a href="#">删除</a> | <a href="#">编辑</a></td>
	</tr>
</c:forEach>
</table>

<form action="infoSet/infoItemAdd.html" method="post">
  <input type="hidden" name="infoSetId" value="${infoSetId }"/>
  <div class="form-group">
    <label for="exampleInputFile">名称：</label>
    <input type="text" id="exampleInputFile" name="iName" style="width: 100%"/>
  </div>
  <div class="form-group">
    <label for="exampleInputFile">值:</label>
    <input type="text" id="exampleInputFile" name="iValue" style="width: 100%"/>
  </div>
  <button type="submit" class="btn btn-default">保存信息项</button>
</form>	
<br/>
<a href="infoSet/list.html">返回上一级</a> <a href="">返回主页</a>
</div>
</body>
</html>
